package service;

import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

@SuppressWarnings("serial")
public class ConnectToServer extends HttpServlet {

	protected void doGet(HttpServletRequest request, HttpServletResponse response) 	
	throws ServletException, IOException {
		
		response.setContentType("text/html");
		response.setStatus(HttpServletResponse.SC_OK);
		response.getWriter().println("<html>");
		response.getWriter().println("<body>");
		response.getWriter().println("<form action=connect method=POST >");
		response.getWriter().println("<input type=text name=message><br>");
		response.getWriter().println("<input type=submit value=\"send\"></form>");

	}

}
